<!DOCTYPE html>
<html  lang="zh" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="renderer" content="webkit">
    <title>代码生成器</title>
    <!-- 避免IE使用兼容模式 -->
 	<meta http-equiv="X-UA-Compatible" content="IE=edge">
    <link th:href="@{favicon.ico}" rel="stylesheet"/>
    <link th:href="@{/css/bootstrap.min.css}" rel="stylesheet"/>
    <link th:href="@{/css/jquery.contextMenu.min.css}" rel="stylesheet"/>
    <link th:href="@{/css/font-awesome.min.css}" rel="stylesheet"/>
    <link th:href="@{/css/animate.css}" rel="stylesheet"/>
    <link th:href="@{/css/style.css}" rel="stylesheet"/>
    <link th:href="@{/css/skins.css}" rel="stylesheet"/>
    <link th:href="@{/ruoyi/css/ry-ui.css?v=4.6.0}" rel="stylesheet"/>
    <style type="text/css">
    	#page-wrapper{
    		margin: 0;
    	}
    	@media ( max-width : 1000px) {
    		.welcome-message {
    			display: block;
        		float: right!important;
    			margin-right: -15px;
    		}
		}
    </style>
</head>
<body class="fixed-sidebar full-height-layout gray-bg skin-blue theme-dark" style="overflow: hidden">
<div id="wrapper">
    <!--右侧部分开始-->
    <div id="page-wrapper" class="gray-bg dashbard-1">
        <div class="row border-bottom">
            <nav class="navbar navbar-static-top" role="navigation" style="margin-bottom: 0">
                <div class="navbar-header" style="width: 20%;"><p style="font-size: 18px;line-height: 50px;color: #FFF;margin-left: 10px;">代码生成器</p></div>
                <ul class="nav navbar-top-links navbar-right welcome-message">
                	<li><a data-toggle="tooltip" data-trigger="hover" data-placement="bottom" title="字典管理" th:href="@{/system/dict}" class="menuItem"><i class="fa fa-cog"></i> 字典管理</a></li>
				    <li><a data-toggle="tooltip" data-trigger="hover" data-placement="bottom" title="系统配置" onclick="sysConfig()" class="menuItem"><i class="fa fa-cog"></i> 系统配置</a></li>
                    <li><a data-toggle="tooltip" data-trigger="hover" data-placement="bottom" title="数据源设置" th:href="@{/system/dataSource}" class="menuItem"><i class="fa fa-database"></i> 数据源</a></li>
                </ul>
            </nav>
        </div>
        <div class="row content-tabs">
            <button class="roll-nav roll-left tabLeft">
                <i class="fa fa-backward"></i>
            </button>
            <nav class="page-tabs menuTabs">
                <div class="page-tabs-content">
                    <a href="javascript:;" class="active menuTab" data-id="/tool/gen">代码生成</a>
                </div>
            </nav>
            <button class="roll-nav roll-right tabRight">
                <i class="fa fa-forward"></i>
            </button>
            <a href="#" class="roll-nav roll-right tabReload"><i class="fa fa-refresh"></i> 刷新</a>
        </div>
        
        <a id="ax_close_max" class="ax_close_max" href="#" title="关闭全屏"> <i class="fa fa-times-circle-o"></i> </a>
                    
        <div class="row mainContent" id="content-main">
            <iframe class="RuoYi_iframe" name="iframe0" width="100%" height="100%" th:data-id="@{/tool/gen}"
                    th:src="@{/tool/gen}" frameborder="0" seamless></iframe>
        </div>
        <div class="footer">
            <div class="pull-right">© 2019-2021 RuoYi Copyright </div>
        </div>
    </div>
    <!--右侧部分结束-->
</div>
<!-- 全局js -->
<script th:src="@{/js/jquery.min.js}"></script>
<script th:src="@{/js/bootstrap.min.js}"></script>
<script th:src="@{/js/plugins/metisMenu/jquery.metisMenu.js}"></script>
<script th:src="@{/js/plugins/slimscroll/jquery.slimscroll.min.js}"></script>
<script th:src="@{/js/jquery.contextMenu.min.js}"></script>
<script th:src="@{/ajax/libs/blockUI/jquery.blockUI.js}"></script>
<script th:src="@{/ajax/libs/layer/layer.min.js}"></script>
<script th:src="@{/ruoyi/js/ry-ui.js?v=4.6.0}"></script>
<script th:src="@{/ruoyi/js/common.js?v=4.6.0}"></script>
<script th:src="@{/ruoyi/index.js?v=20201208}"></script>
<script th:src="@{/ajax/libs/fullscreen/jquery.fullscreen.js}"></script>
<script th:inline="javascript">
	var ctx = [[@{/}]];
	// history（表示去掉地址的#）否则地址以"#"形式展示
	var mode = "history";
	// 历史访问路径缓存
	var historyPath = storage.get("historyPath");
	// 是否页签与菜单联动
	var isLinkage = true;
	/** 刷新时访问路径页签 */
	function applyPath(url) {
	    $('a[href$="' + decodeURI(url) + '"]').click();
	    if (!$('a[href$="' + url + '"]').hasClass("noactive")) {
	        $('a[href$="' + url + '"]').parent("li").addClass("selected").parents("li").addClass("active").end().parents("ul").addClass("in");
	    }
	}

	$(function() {
	    if($.common.equals("history", mode) && window.performance.navigation.type == 1) {
	        var url = storage.get('publicPath');
	        if ($.common.isNotEmpty(url)) {
	            applyPath(url);
	        }
	    } else {
	        var hash = location.hash;
	        if ($.common.isNotEmpty(hash)) {
	            var url = hash.substring(1, hash.length);
	            applyPath(url);
	        } else {
	            if($.common.equals("history", mode)) {
	                storage.set('publicPath', "");
	            }
	        }
	    }
	    $("[data-toggle='tooltip']").tooltip();
	});
	
	/*系统配置*/
	function sysConfig() {
	    var url = ctx + 'system/config';
	    $.modal.open("系统配置", url,'',400);
	}
</script>
</body>
</html>
